From: Jasper St. Pierre Date: Mon, 26 Aug 2013 19:21:23 +0000 (-0400) Subject: system: Hide the AltSwitcher when we have nothing to show X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3580 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f0da08bbb19705da6163c1f10195e260d0bb07ba;p=gnome-shell.git system: Hide the AltSwitcher when we have nothing to show https://bugzilla.gnome.org/show_bug.cgi?id=706852 --- diff --git a/js/ui/status/system.js b/js/ui/status/system.js index 40968abd4..c319b0950 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -60,6 +60,8 @@ const AltSwitcher = new Lang.Class({ // sync the pointer to make sure they update. global.sync_pointer(); } + + this.actor.visible = (childToShow != null); }, _onDestroy: function() {